
ac.item('独立附魔宝珠'){
    item_type = "charged",
    auto_merge = true,
    lum = 200,
    rate = 100,
    tip = [[说明|n - 店家花费'gold'金币刷新附魔属性|n - 被装备吸收时会替换装备词条中等级最低词条]],
    on_use = function(self, item)
        local hero = self.owner
        local player = hero.owner
        if item['无法吞噬'] then
            self:set_count(self:get_count())
            ac.console:error(player, "该装备无法吞噬")
            return
        end
        if item.item_level~=item.max_level then
            self:set_count(self:get_count())
            ac.console:error(player, "只能对满级装备使用")
            return
        end
        if hero:dispatch('单位-吞噬装备', hero, item)==false then
            self:set_count(self:get_count())
            ac.console:error(player, "该装备已被吞噬")
        end
    end
}
